package com.store.orm.mysql.crud;


import com.store.orm.mysql.crud.filter.Filtration;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @author 宫静雨
 * @version 1.0
 */
public interface Update {

    <T> Map<String, List<Object>> update(Filtration filter, T t);

    Map<String, List<Object>>  update(Filtration filter, Class<?> cls, String json);

    Map<String, List<Object>>  update(Filtration filter, Class<?> cls, LinkedHashMap<String, Object> map);

    Map<String, List<Object>>  update(String sql, Object... args);
}